package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.UserPickGoodsFavorite;
import com.ecoolex.ying.space.entity.UserPickGoodsFavoriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface UserPickGoodsFavoriteMapper {
    long countByExample(UserPickGoodsFavoriteExample example);

    int deleteByExample(UserPickGoodsFavoriteExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserPickGoodsFavorite record);

    int insertSelective(@Param("record") UserPickGoodsFavorite record, @Param("selective") UserPickGoodsFavorite.Column ... selective);

    UserPickGoodsFavorite selectOneByExample(UserPickGoodsFavoriteExample example);

    List<UserPickGoodsFavorite> selectByExample(UserPickGoodsFavoriteExample example);

    UserPickGoodsFavorite selectByPrimaryKey(Integer id);

    UserPickGoodsFavorite selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") UserPickGoodsFavorite record, @Param("example") UserPickGoodsFavoriteExample example, @Param("selective") UserPickGoodsFavorite.Column ... selective);

    int updateByExample(@Param("record") UserPickGoodsFavorite record, @Param("example") UserPickGoodsFavoriteExample example);

    int updateByPrimaryKeySelective(@Param("record") UserPickGoodsFavorite record, @Param("selective") UserPickGoodsFavorite.Column ... selective);

    int updateByPrimaryKey(UserPickGoodsFavorite record);

    int batchInsert(@Param("list") List<UserPickGoodsFavorite> list);

    int batchInsertSelective(@Param("list") List<UserPickGoodsFavorite> list, @Param("selective") UserPickGoodsFavorite.Column ... selective);

    int logicalDeleteByExample(@Param("example") UserPickGoodsFavoriteExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}